package gui;

import java.awt.Dimension;
import java.awt.Frame;
import java.awt.Window;


public class Fullscreener extends Window {

	private static final long serialVersionUID = 1L;

	
	public Fullscreener(Schilder p, Dimension screenSize) {
		super(new Frame());	    
		this.add(p);
	    
		//sets the location of the window to top left of screen
	    setBounds(0,0,screenSize.width, screenSize.height);
	  }
	
}